﻿<dx:DXWindow 
    xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"  
        x:Class="DevControlLibrary.UI.RegistDB"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="新增数据源" 
    xmlns:db="clr-namespace:DevControlLibrary.UI"
    xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" 
    WindowStartupLocation="CenterScreen" 
    KeyDown="DxWindowKeyDown" 
    WindowStyle="ToolWindow" 
    mc:Ignorable="d" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    SizeToContent="WidthAndHeight">
    <dxlc:LayoutControl Orientation="Vertical" Padding="2">
        <db:DbConnectionControl x:Name="dbConnection"/>
        <dxlc:LayoutGroup Name="layoutGroup3" Orientation="Horizontal" Margin="0,-3,0,0" View="GroupBox" Height="48" >
            <dxlc:LayoutItem Label="" Name="layoutItem1" Height="23">
            </dxlc:LayoutItem>
            <dxe:ButtonEdit ShowText="False" AllowDefaultButton="False" Width="75">
                <dxe:ButtonInfo GlyphKind="Custom" Content="确定" ButtonKind="Simple" Click="btnOK_Click"/>
            </dxe:ButtonEdit>
            <dxe:ButtonEdit ShowText="False" AllowDefaultButton="False" Width="75">
                <dxe:ButtonInfo GlyphKind="Custom" Content="取消" ButtonKind="Simple" Click="btnCanel_Click"/>
            </dxe:ButtonEdit>
        </dxlc:LayoutGroup>
    </dxlc:LayoutControl>
</dx:DXWindow >
